<?php
  $display_script_errors = 0; // 1 = show debug information, 2 = show only speed of rendering, 0 = hide all debug
  $_script_debug = 0;         // show debug information about data from cURL
  
  ini_set('display_errors', $display_script_errors);
  if($display_script_errors === 1){
    ini_set('display_errors', 1);
    error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
  }else{
    ini_set('display_errors', 0);
    error_reporting(E_ERROR);
  }

  //DB
  define('DB_SERVER', 'localhost');
  define('DB_USERNAME', 'sfcalc_sql');
  define('DB_PASSWORD', 'kupa8844');
  define('DB_DATABASE', 'sfcalc_sql');
  //Facebook
  define('APP_ID', '267643133252687');
  define('APP_SECRET', 'a53f8ebd0c5484db7bb10f6fca299424');
  //Twitter
  define('YOUR_CONSUMER_KEY', 'AxNltJBgHmy7NNfctMdkg');
  define('YOUR_CONSUMER_SECRET', 'rEQi0BzNTiooKv6HPiu9clGN40zmGt3ruUoLpnuJE');
  //Path
  define("BASE_DIR", dirname(__FILE__).DIRECTORY_SEPARATOR);
  define("SITETEMPLATEDIR", BASE_DIR.'templates'.DIRECTORY_SEPARATOR);
  define("SITELANGDIR", BASE_DIR.'lang'.DIRECTORY_SEPARATOR);
  //Lang
  $_local_lang_arr = array('en', 'uk');
  define('DEF_LANG', 'en');
?>
